Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IAS4ProfileValidator: new validation, relates to #182 #183

Merged

Conversation

koes-soptim
Copy link
Contributor

relates to #182

I added a new validation in IAS4ProfileValidator (with empty default implementation) and implemented it for BDEWCompatibilityValidator. It checks if the initiator party ID and the market participant ID in the OU part of the signature and client TLS certificates match. I obtained the client TLS certificate from the ServletRequest in AS4XServletHandler and saved it in IAS4IncomingMessageMetadata.

@phax
Copy link
Owner

phax commented Oct 24, 2023

Cool thanks - looks good. I will tweak some minor things, but nothing serious :)

@phax phax merged commit 69c6ea4 into phax:master Oct 24, 2023
2 checks passed
phax added a commit that referenced this pull request Oct 24, 2023
@koes-soptim koes-soptim deleted the enhancement_match_initiatorId_sigCert_tlsCert branch October 31, 2023 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants